package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商圈
 * 
 * @author flh
 *
 */
public class Sotre {
	private String id; // 主键

	private String userid; // 用户ID

	private String parentid; // 代理商ID

	private String logo; // 店铺头像

	private String sotrename; // 店铺名称

	private String synopsis; // 店铺简介

	private String address; // 店铺地址

	private Double latitude; // 经度

	private Double longitude; // 纬度

	private String busintime; // 营业时间

	private String mobile; // 联系电话

	private String pic; // 背景图片

	private String discount; // 折扣

	private Date createtime; // 发布时间

	private BigDecimal fare; // 积累扣费

	private Integer sum; // 积累发布条数

	private Integer grade; // 优先级 1普通 2加精 3高级VIP

	private Byte status; // 审核状态 1-通过 2-驳回

	private Byte datastatus; // 数据状态 0-冻结 1-发布

	private String submobile; // 用户手机号

	private String appname; // 应用名称

	private String username; // 代理商名称

	private String shopname; // 商家名称

	private Double distance; // 距离

	public Sotre() {
		super();
	}

	public Sotre(String userid, String parentid) {
		super();
		this.userid = userid;
		this.parentid = parentid;
	}

	public Sotre(String parentid, Byte status, Byte datastatus) {
		super();
		this.parentid = parentid;
		this.status = status;
		this.datastatus = datastatus;
	}

	public Sotre(String parentid, String sotrename, Byte status, Byte datastatus) {
		super();
		this.parentid = parentid;
		this.sotrename = sotrename;
		this.status = status;
		this.datastatus = datastatus;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public BigDecimal getFare() {
		return fare;
	}

	public void setFare(BigDecimal fare) {
		this.fare = fare;
	}

	public Integer getSum() {
		return sum;
	}

	public void setSum(Integer sum) {
		this.sum = sum;
	}

	public String getAppname() {
		return appname;
	}

	public void setAppname(String appname) {
		this.appname = appname;
	}

	public String getShopname() {
		return shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public String getSubmobile() {
		return submobile;
	}

	public void setSubmobile(String submobile) {
		this.submobile = submobile;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid == null ? null : userid.trim();
	}

	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid == null ? null : parentid.trim();
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo == null ? null : logo.trim();
	}

	public String getSotrename() {
		return sotrename;
	}

	public void setSotrename(String sotrename) {
		this.sotrename = sotrename == null ? null : sotrename.trim();
	}

	public String getSynopsis() {
		return synopsis;
	}

	public void setSynopsis(String synopsis) {
		this.synopsis = synopsis == null ? null : synopsis.trim();
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address == null ? null : address.trim();
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public String getBusintime() {
		return busintime;
	}

	public void setBusintime(String busintime) {
		this.busintime = busintime == null ? null : busintime.trim();
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile == null ? null : mobile.trim();
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic == null ? null : pic.trim();
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount == null ? null : discount.trim();
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Byte getDatastatus() {
		return datastatus;
	}

	public void setDatastatus(Byte datastatus) {
		this.datastatus = datastatus;
	}
}